package com.lh.web.service.impl.statistics;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lh.common.entity.admin.DataForm;
import com.lh.common.entity.admin.DataUserFrom;
import com.lh.web.dao.admin.DataFormMapper;
import com.lh.web.service.serviceAdmin.statistics.DataStatisticsService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author FH
 * @ClassName: DataStatisticsServiceImpl
 * @Description: (类作用)
 * @date: 2020-05-25 14:31
 */
@Service
public class DataStatisticsServiceImpl extends ServiceImpl<DataFormMapper, DataForm> implements DataStatisticsService {


    @Override
    public DataForm selectDataList(Map<String, Object> params) {
        return this.baseMapper.selectDataList(params);
    }

    @Override
    public DataForm selectDataStatisticsList(Map<String, Object> params) {
        return this.baseMapper.selectDataStatisticsList(params);
    }

    @Override
    public List<DataUserFrom> getDataPointList() {
        return this.baseMapper.getDataPointList();
    }

    @Override
    public int setDataStatistics(String startTime) {
        return this.baseMapper.setDataStatistics(startTime);
    }
}
